<!--// header //--> 
{include="../public/header"}
<style>
.the-legend {
    border-style: none;
    border-width: 0;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
}
.the-fieldset {
    border: 2px groove threedface #444;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}
</style>
    <!--主体内容-->
    <!--当前操作-->
    <div style="margin-left:65px; margin-right:65px; width:auto">
    <div class="row-fluid">
   	  <div class="span12">
        	<h2 style="margin:12px; color:#41516a">员工档案编辑</h2>
      </div>
    </div>		
    <!--当前操作-->
    <div class="row-fluid">
    	<div class="span12">
        <div class="row-fluid">
        <!--tab-->
        <div class="tabbable">
        <ul class="nav nav-tabs">
        <li><a href="/System/index"><font color="orange">课程列表</font></a></li>
		<li><a href="/System/index">课程新增</a></li>
		<li><a href="/System/index">员工列表</a></li>
		<li><a href="/System/index">员工新增</a></li>
		<li><a href="/System/index">班级列表</a></li>
		<li><a href="/System/index">班级新增</a></li>
		<li><a href="/System/index">权限管理</a></li>
		</ul>
            <div class="tab-content">
                <div class="tab-pane active" id="2">
                <form name="frm" method="post" action="/System/emptupdate">
		 <div class = 'form-horizontal well'>
		 	<fieldset class="well the-fieldset">
			<legend class="the-legend">基本信息</legend>
				<div class="row-fluid show-grid">
			      	<div class="span4">
					<label>姓名
		    			<input type="text" name="nick" id="nick" value="{$employee.nick}"  /></label>
                        </div>
			      	<div class="span4">
					<label>身份
                        <input type="text" name="ecardid" id="ecardid" value="{$employee.ecardid}" onkeyup="value=value.replace(/[^\d]/g,'')" />
                        </label>
                        </div>
			      	<div class="span4">
					<label>生日
                        <input type="text" name="ebirth" id="ebirth" value="{function="date('Y-m-d',$employee.ebirth)"}" />
                        </label>
                        </div>
				</div>
				<div class="row-fluid show-grid">
			      	<div class="span4">
					<label>性别
		    			<input type="radio" name="esex" value="0" checked />男
                        <input type="radio" name="esex" value="1" />女
                        </label>	
				</div>
			      	<div class="span4">
					<label>婚否
		    			<input type="radio" name="emarriage" value="0" checked />未婚
                        <input type="radio" name="emarriage" value="1" />已婚
                        </label>	
                        </div>
			      	<div class="span4">
					<label>户籍
		    			<input type="text" name="efrom" id="efrom" value="{$employee.efrom}"  /></label>	
				</div>
			    </div>     
				<div class="row-fluid show-grid">
                    <div class="span4">
                        <label>毕业院校
                            <input type="text" id="egraduate" name="egraduate" value="{$employee.egraduate}"  />
                        </label>
                    </div>
                    <div class="span4">
                        <label>专业
                            <input type="text" id="esubject" name="esubject" value="{$employee.esubject}"  />
                        </label>
                    </div>
                    <div class="span4">
                        <label>学历
                            <input type="text" id="egrade" name="egrade" value="{$employee.egrade}"  />
                        </label>
                    </div>
                </div>
				<div class="row-fluid show-grid">
                    <div class="span4">
                        <label>家庭住址
                            <input type="text" id="eaddress" name="eaddress" value="{$employee.eaddress}"  />
                        </label>
                    </div>
                    <div class="span4">
                        <label>手机
                            <input type="text" id="etelephone" name="etelephone" value="{$employee.etelephone}" onkeyup="value=value.replace(/[^\d]/g,'')" />
                        </label>
                    </div>
                    <div class="span4">
                        <label>应急
                            <input type="text" id="econtact" name="econtact" value="{$employee.econtact}" onkeyup="value=value.replace(/[^\d]/g,'')" />
                        </label>
                    </div>
                </div>
				<div class="row-fluid show-grid">
                    <div class="span4">
                        <label>入职时间
                            <input type="text" id="ehere" name="ehere" value="{function="date('Y-m-d',$employee.ehere)"}" />
                        </label>
                    </div>
                    <div class="span4">
                        <label>部门
                        <select name="edept" id="edept">
                            <option value="市场部">市场部</option>
                            <option value="教务处">教务处</option>
                            <option value="管理组">管理组</option>
                        </select>
                        </label>
                    </div>
                    <div class="span4">
                        <label>职务
                            <input type="text" id="edeptwork" name="edeptwork" value="{$employee.edeptwork}"  />
                        </label>
                    </div>
                </div>
				</fieldset>
		 	<fieldset class="well the-fieldset">
			<legend class="the-legend">管理系统信息</legend>
				<div class="row-fluid show-grid">
			      	<div class="span4">
                        <label>登录帐号
                            <input type="text" name="login" id="login" value="{$employee.login}" />
                        </label>
                    </div>
			      	<div class="span4">
                        <label>登录密码
                            <input type="password" name="passwd" id="passwd" placeholder="不修改密码，请留空!" />
                        </label>
                    </div>
			      	<div class="span4">
                        <label>确认密码
                            <input type="password" name="repasswd" id="repasswd" placeholder="再次确认密码!" />
                        </label>
                    </div>
                </div>
				<div class="row-fluid show-grid">
			      	<div class="span4">
                        <label>所属分组
                        <select name="gid" id="gid">
                            <option value="1">市场部</option>
                            <option value="2">教务处</option>
                            <option value="3">管理组</option>
                        </select>
                        </label>
                    </div>
			      	<div class="span4">
					<label>状态
		    			<input type="radio" name="status" value="0" />禁用
                        <input type="radio" name="status" value="1" />启用
                        </label>	
				</div>
                </div>
                <div class="row-fluid show-grid">
			      	<div class="span4"></div>
			      	<div class="span4">
					<label>
                    <input type="hidden" name="id" value="{$employee.id}" />
					<input type="submit" value="确认修改" />
					</label>	
				</div>
			    </div>     
    			</fieldset>
			</div>
			</form>
                </div>
        	</div>
      </div>
        <!--tab-->
        </div>
    </div>
    </div>
	<!--主体内容-->
<!--// footer //--> 
{include="../public/footer"}
